home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-04-03 | 1.0 KB | 57 lines | [TEXT/PJMM] |
- { This file has been processed by The THINK Pascal Source Converter, v1.1. }
-
- {
- Created: Sunday, January 6, 1991 at 11:15 PM
- ShutDown.p
- Pascal Interface to the Macintosh Libraries
-
- Copyright Apple Computer, Inc. 1987-1989
- All rights reserved
- }
-
-
- {$IFC UNDEFINED UsingIncludes}
- {$SETC UsingIncludes := 0}
- {$ENDC}
-
-
- UNIT ShutDown;
- INTERFACE USES Types;
-
-
-
-
-
-
-
-
-
-
-
-
-
- CONST
- sdOnPowerOff = 1; {call procedure before power off.}
- sdOnRestart = 2; {call procedure before restart.}
- sdOnUnmount = 4; {call procedure before unmounting.}
- sdOnDrivers = 8; {call procedure before closing drivers.}
- sdRestartOrPower = 3; {call before either power off or restart.}
-
- PROCEDURE ShutDwnPower;
- INLINE $3F3C,$0001,$A895;
- PROCEDURE ShutDwnStart;
- INLINE $3F3C,$0002,$A895;
- PROCEDURE ShutDwnInstall(shutDownProc: ProcPtr;flags: INTEGER);
- INLINE $3F3C,$0003,$A895;
- PROCEDURE ShutDwnRemove(shutDownProc: ProcPtr);
- INLINE $3F3C,$0004,$A895;
-
-
- { UsingShutDown }
-
-
- IMPLEMENTATION
- END.
-
-
-